Skip to content

Instantly share code, notes, and snippets.

@Dragon74bos
Dragon74bos / aerohive.md
Created August 15, 2026 21:05 — forked from samdoran/aerohive.md
Configuring Aerohive access points using the CLI

Aerohive

Initial setup

  1. Reset to factory defaults

     reset config bootstrap
     reset config
    

    The username is admin and the password is aerohive, Aerohive1, or admin123.

@loucadufault
loucadufault / README.md
Last active August 15, 2026 21:02
Reconstruct Cursor chat

My installation of Cursor decides it likes to forget all our past conversations over the weekend (can't blame it, we all need some R&R 😌).

This gist is intended as a rough guide in case you want to manually recover some past chats.

Use the query in the bubble_texts.sql file to grab past chat text.

Data location

Chats are stored in .vscdb files which are SQLite databases. The location of these files is:

  • Windows: %APPDATA%\Cursor\User\workspaceStorage
@fnky
fnky / ANSI.md
Last active August 15, 2026 21:00
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@hw0lff
hw0lff / change-splash-screen.md
Created January 21, 2025 19:41
Use Lenovo ShellFlash.efi to change boot image of Thinkpad
  1. Unpack lenovo BIOS update utility
  2. Copy Shellflash.efi to /boot/Flash/ShellFlash.efi
  3. Boot computer into uefi shell
fs0:
cd Flash
ShellFlash.efi /patch /logo logofile.gif
@nielsvanvelzen
nielsvanvelzen / jf-dev-auth.md
Last active August 15, 2026 20:56
Jellyfin API Authorization

Jellyfin API Authorization

To start using the Jellyfin API, authorization is probably the first thing you'll need to do. Jellyfin's authorization options can be a bit confusing because there are a lot of deprecated options.

Generally there are three ways to authenticate: no authorization, user authorization with an access token or authorization with an API key. The first way is easy, just do nothing. But most often you'll need to use either the access token or API key.

Sending authorization values

There are multiple methods for transmitting authorization values, however, some are outdated and scheduled to be removed. It's recommend to use the Authorization header. If header auth isn't an option, the token may be sent through the ApiKey query parameter. Sending secure data in a query parameter is unsafe as the changes of it leaking (via logs, copy-paste actions or by other means) are high. Only use this method as a last resort.

@aarondfrancis
aarondfrancis / audit-your-codebase.md
Created August 14, 2026 15:20
A read-only, agent-orchestrated codebase audit prompt for data structures, state modeling, algorithms, and ownership.

Audit this entire codebase for materially useful simplifications in its data structures, state representation, control flow, algorithms, and ownership.

This is an audit-only exercise. Do not edit files, run tests, implement recommendations, commit, or push. Read-only inspection commands are allowed.

You are the coordinator. Continue until the complete codebase has been reviewed and the final audit is validated.

  1. Establish the coverage contract

Inspect the repository and inventory every identifiable subsystem.

@iannuttall
iannuttall / agentos-blueprint.md
Created August 14, 2026 12:10
AgentOS blueprint β€” reconstructed from Danny Postma's Agent SDK talk so an agent can build the system

AgentOS β€” Product Spec & Implementation Blueprint

Reconstructed from Danny Postma's talk How I Built My Own AgentOS on Claude's Agent SDK (So You Can Too) (2026). This document is both a product spec for a human and an implementation prompt for an AI coding agent. Build exactly this system. Do not invent features that are not specified here.

Role contracts and prompts in this file are reconstructed from the talk, not his verbatim files. Mark every reconstructed prompt in code comments and docs as such.


1. Goal and non-goals

@AKCodez
AKCodez / claude-code-statusline-guide.md
Last active August 15, 2026 20:37
Claude Code Status Line - Complete Guide: all fields, config, ready-to-use scripts

Claude Code Status Line - Complete Guide: all fields, config, ready-to-use scripts

Claude Code Status Line β€” Complete Guide

A persistent, customizable bar at the bottom of Claude Code that shows real-time session data.

image